package com.offcn.sellergoods.entity;

import com.offcn.sellergoods.pojo.Specification;
import com.offcn.sellergoods.pojo.SpecificationOption;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SpecEntity implements Serializable {

    /**
     * 规格和规格选项 是 一对多 的关系
     */
    private Specification specification;
    private List<SpecificationOption> specOptionList;
}
